/**
 * ENGINE
 * v0.2 | 20150615
 * License: none (public domain)
 */

*,
*:after,
*:before {
    box-sizing: border-box;

    outline: none;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font: inherit;
    font-size: 100%;

    margin: 0;
    padding: 0;

    vertical-align: baseline;

    border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;

    &:before,
    &:after {
        content: '';
        content: none;
    }
}

sub,
sup {
    font-size: 75%;
    line-height: 0;

    position: relative;

    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

input,
textarea,
button {
    font-family: inhert;
    font-size: inherit;

    color: inherit;
}

select {
    text-indent: .01px;
    text-overflow: '';

    border: 0;
    border-radius: 0;

    -webkit-appearance: none;
    -moz-appearance: none;
}

select::-ms-expand {
    display: none;
}

code,
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* 404、401 过渡动画
首页数据统计动画
------------------------------- */
@keyframes error-num {
    0% {
        transform: translateY(60px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

//首页快捷导航栏动画
@keyframes translate-num {
    0% {
        transform: translateX(1600px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animation_top_left,
.animation_bottom_right {
    // width: inherit;
    width: 100%;
    height: inherit;
    overflow: hidden;
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 0;

    // animation: error-num 1.5s ease-in-out;
    &::before,
    &::after {
        content: '';
        position: absolute;
        z-index: 1;
    }
}

.animation_top_left {
    &::before {
        filter: hue-rotate(0deg);
        top: 0px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #409eff);
        animation: loginLeft 3s linear infinite;
    }

    &::after {
        filter: hue-rotate(60deg);
        top: -100%;
        right: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, transparent, #409eff);
        animation: loginTop 3s linear infinite;
        animation-delay: 0.7s;
    }
}

.animation_bottom_right {
    &::before {
        filter: hue-rotate(120deg);
        bottom: 0;
        right: -100%;
        width: 100%;
        height: 3px;
        background: linear-gradient(270deg, transparent, var(--el-color-primary));
        animation: loginRight 3s linear infinite;
        animation-delay: 1.4s;
    }

    &::after {
        filter: hue-rotate(300deg);
        bottom: -100%;
        left: 0px;
        width: 3px;
        height: 100%;
        background: linear-gradient(360deg, transparent, var(--el-color-primary));
        animation: loginBottom 3s linear infinite;
        animation-delay: 2.1s;
    }
}

/* 环绕动画
------------------------------- */
@keyframes loginLeft {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes loginTop {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

@keyframes loginRight {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

@keyframes loginBottom {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

// 遮罩层
.mask {
    width: inherit;
    height: inherit;
    position: absolute;
    z-index: 1;
    opacity: 0;
    filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
}

@keyframes down_animation {
    0% {
        opacity: 0;
        top: 0;
    }

    50% {
        opacity: .5;
        top: 50%;
    }

    75% {
        top: 30%;
        opacity: .7;
    }

    85% {
        top: 40%;
        opacity: .9;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}

.opt_btn {
    padding: 10px;
    display: flex;
    justify-content: end;
}

// 修改弹窗的样式
// ::v-deep.custom_class {
//     border-radius: 10px !important;
// }

// :deep(.el-dialog.custom_class) {
//     border-radius: 15px !important;
// }



// 全局分割线样式
.left_content_line {
    width: 100%;
    border: 0;
    padding-top: 1px;
    background: linear-gradient(to right, transparent, #d0d0d5, transparent);
}